package allwe.thread02;

public class Test {
    public static void main(String[] args) {
        //创建子线程对象
        Thread02 thread02 = new Thread02();
        Thread thread = new Thread(thread02,"子线程111");
//        thread.setName("子线程");
        thread.start();

        for (int i = 0; i < 10; i++) {
            System.out.println("main====" + i);
        }
    }
}
